<!-- Home -->
<div style="width: 100%; background-color: #fbfbfb; border: 0px solid #b8b8b8;">
<!--<img src="http://codiqa.com/static/images/v2/image.png" alt="image" style="position: absolute; top: 50%; left: 50%; margin-left: -16px; margin-top: -18px" />-->
<?php
	if (isset($template)) {
	    foreach ($template as $items) {
	        echo $this -> Html -> image('uploads/' . $items['Template']['image'], array('alt' => 'image', 'style' => 'width: 100%; margin-left: 0px; margin-top: 0px;'));
	    }
	}
?>
</div>
<div data-role="collapsible-set" data-theme="c" data-content-theme="">
<div data-role="collapsible" data-collapsed="false">
<h3>診療内容</h3>
<div>
<?php
    foreach ($template as $itemTitle) {
        echo $itemTitle['Template']['title'];
    }
?>
</div>
</div>
<div data-role="collapsible" data-collapsed="false">
<h3>クリニック紹介</h3>
<div>
<?php
    foreach ($template as $itemContent) {
        echo $itemContent['Template']['content'];
    }
?>
</div>
</div>
<div data-role="collapsible" data-collapsed="false">
<h3>アクセス</h3>
<div>
<?php
    foreach ($template as $itemMap) {
        echo $itemMap['Template']['decription'];
    }
?>
</div>
</div>
</div>

